MenuItemHoverListener

An interface notified when a menu item is hovered. Useful for cases when hover should trigger some behavior at a higher level, like managing the opening and closing of submenus.

Inheritors

Functions

Link copied to clipboard
abstract fun onItemHoverEnter(@NonNull menu: @NonNull MenuBuilder, @NonNull item: @NonNull MenuItem)
Called when hover enters a menu item.
Link copied to clipboard
abstract fun onItemHoverExit(@NonNull menu: @NonNull MenuBuilder, @NonNull item: @NonNull MenuItem)
Called when hover exits a menu item.